package com.luguangtao.api;

import com.netflix.ribbon.proxy.annotation.Hystrix;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "ribbon02",fallback = TestFallBackApi.class)
@Hystrix
public interface TestApi {

    @RequestMapping("test01")
    public String test01();
}
